home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / MiscKit1.7.1 / MiscKit / Palettes / MiscClassDecoderPalette / Makefile.postamble < prev    next >
Makefile  |  1995-01-30  |  5KB  |  119 lines

  1. #    MiscKit Postamble
  2. #    this is 3.1+ specific, and will enable the building of FAT palletes!
  3.  
  4. #LIBTOOL = /bin/ar r         # for 3.0
  5. LIBTOOL = /bin/libtool -o    # for 3.1, 3.2, fat palettes
  6.  
  7. ###############################################################################
  8. #  NeXT Makefile.postamble Template
  9. #  Copyright 1993, NeXT Computer, Inc.
  10. #
  11. #  This Makefile is used for configuring the standard app makefiles associated
  12. #  with ProjectBuilder.  
  13. #  
  14. #  Use this template to set attributes for a project, sub-project, bundle, or
  15. #  palette.  Each node in the project's tree of sub-projects and bundles 
  16. #  should have it's own Makefile.preamble and Makefile.postamble.  Additional
  17. #  rules (e.g., after_install) that are defined by the developer should be
  18. #  defined in this file.
  19. #
  20. ###############################################################################
  21. # Here are the variables exported by the common "app" makefiles that can be 
  22. # used in any customizations you make to the template below:
  23. #    PRODUCT_ROOT - Name of top-level app-wrapper (e.g., Webster.app)
  24. #    OFILE_DIR - Directory into which .o object files are generated.
  25. #            (Note that this name is calculated based on the target 
  26. #             architectures specified in Project Builder).
  27. #    DERIVED_SRC_DIR - Directory used for all other derived files
  28. #    ALL_CFLAGS - All the flags passed to the cc(1) driver for compilations
  29. #
  30. #    NAME - name of application, bundle, subproject, palette, etc.
  31. #    LANGUAGE - langage in which the project is written (default "English")
  32. #    ENGLISH - boolean flag set iff $(LANGUAGE) = "English"
  33. #    JAPANESE - boolean flag set iff $(LANGUAGE) = "Japanese"
  34. #    LOCAL_RESOURCES - localized resources (e.g. nib's, images) of project
  35. #    GLOBAL_RESOURCES - non-localized resources of project
  36. #    PROJECTVERSION - version of ProjectBuilder that output Makefile
  37. #    APPICON - application icon file
  38. #    DOCICONS - dock icon files
  39. #    ICONSECTIONS - Specifies icon sections when linking executable 
  40. #
  41. #    CLASSES - Class implementation files in project.
  42. #    HFILES - Header files in project.
  43. #    MFILES - Other Objective-C source files in project. 
  44. #    CFILES - Other C source files in project. 
  45. #    PSWFILES - .psw files in the project
  46. #    PSWMFILES - .pswm files in the project
  47. #    SUBPROJECTS - Subprojects of this project
  48. #    BUNDLES - Bundle subprojects of this project
  49. #    OTHERSRCS - Other miscellaneous sources of this project
  50. #    OTHERLINKED - Source files not matching a standard source extention
  51. #
  52. #    LIBS - Libraries to link with when making app target
  53. #    DEBUG_LIBS - Libraries to link with when making debug target
  54. #    PROF_LIBS - Libraries to link with when making profile target
  55. #    OTHERLINKEDOFILES - Other relocatable files to (always) link in.
  56. #
  57. #    APP_MAKEFILE_DIR - Directory in which to find generic set of Makefiles
  58. #    MAKEFILEDIR - Directory in which to find $(MAKEFILE)
  59. #    MAKEFILE - Top level mechanism Makefile (e.g., app.make, bundle.make)
  60. #    INSTALLDIR - Directory app will be installed into by 'install' target
  61.  
  62.  
  63. # Change defaults assumed by the standard app makefiles here.  Edit the 
  64. # following default values as appropriate. (Note that if no Makefile.postamble 
  65. # exists, these values will have defaults set in common.make).
  66.  
  67. # Add Makefile.preamble, Makefile.postamble, and Makefile.dependencies here if
  68. # you would like changes to them to invalidate previous builds.  The project
  69. # depends on $(MAKEFILES) so that changes to Makefiles will trigger a re-build.
  70. #MAKEFILES = Makefile 
  71.  
  72. # Optimization flag passed to compiler:
  73. OPTIMIZATION_CFLAG = -O2 -pipe
  74.  
  75. COMMON_CFLAGS = $(PROJECT_SPECIFIC_CFLAGS) -Wall  
  76.  
  77. # Flags passed to compiler in normal 'app' compiles:
  78. NORMAL_CFLAGS = $(COMMON_CFLAGS) $(OPTIMIZATION_CFLAG)
  79.  
  80. # Flags passed to compiler in normal 'app' compiles:
  81. # old (3.2) way
  82. #NORMAL_CFLAGS = $(OPTIMIZATION_CFLAG) -Wall
  83.  
  84. # Flags passed to compiler in 'debug' compiles:
  85. #DEBUG_CFLAGS = -g -Wall -DDEBUG
  86.  
  87. # Flags passed to compiler in 'profile' compiles
  88. #PROFILE_CFLAGS = -g -pg $(OPTIMIZATION_CFLAG) -Wall -DPROFILE
  89.  
  90. # Ownership and permissions of files installed by 'install' target
  91. #INSTALL_AS_USER = root        # User to chown app to
  92. #INSTALL_AS_GROUP = wheel      # Group to chgrp app to 
  93. #INSTALL_PERMISSIONS =         # If set, 'install' chmod's executable to this
  94.  
  95. # Options to strip for bundles, apps with bundles, and apps without bundles, 
  96. # respectively.
  97. RELOCATABLE_STRIP_OPTS = -x -u
  98. #DYLD_APP_STRIP_OPTS = -A -n
  99. #APP_STRIP_OPTS = 
  100. #TOOL_STRIP_OPTS = 
  101. # (Note: APP_STRIP_OPTS and TOOL_STRIP_OPTS default to empty, but
  102. #  developers doing their own dynamic loading should set this to 
  103. #  $(DYLD_APP_STRIP_OPTS)).
  104.  
  105.  
  106. #########################################################################
  107. # Put rules to extend the behavior of the standard Makefiles here.  Typical 
  108. # user-defined rules are before_install and after_install (please don't 
  109. # redefine things like install or app, as they are owned by the top-level 
  110. # Makefile API), which are rules that get invoked before and after the install 
  111. # target runs.  Such rules should be specified with the '::' syntax rather than 
  112. # a single colon.
  113.  
  114.  
  115. $(LIBRARYNAME): $(LIBOFILES)
  116.     $(LIBTOOL) $@ $(LIBOFILES)
  117.